package com.example.mq.common;

import com.example.mq.mqsever.core.Exchangetype;

import java.io.Serializable;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: WHY
 * Date: 2023-09-07
 * Time: 13:22
 */
public class ExchangeDeclareArguments  extends BasicArguments implements Serializable {
    private  String ExchangeName;
    private Exchangetype exchangeType;
    private boolean durable;

    public String getExchangeName() {
        return ExchangeName;
    }

    public void setExchangeName(String exchangeName) {
        ExchangeName = exchangeName;
    }

    public Exchangetype getExchangeType() {
        return exchangeType;
    }

    public void setExchangeType(Exchangetype exchangeType) {
        this.exchangeType = exchangeType;
    }

    public boolean isDurable() {
        return durable;
    }

    public void setDurable(boolean durable) {
        this.durable = durable;
    }

    public boolean isAutoDelete() {
        return autoDelete;
    }

    public void setAutoDelete(boolean autoDelete) {
        this.autoDelete = autoDelete;
    }

    public Map<String, Object> getArguments() {
        return arguments;
    }

    public void setArguments(Map<String, Object> arguments) {
        this.arguments = arguments;
    }

    private boolean autoDelete;
    private Map<String,Object> arguments;



}
